<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>margin问题3</title>
    <style>
        #d1{
            width: 300px;
            height: 300px;
            margin: 50px;
            background-color: azure;
        }
        img{
            width: 300px;
            height: 300px;
            margin: 50px;
        }
        .s1{
            background-color: rgb(74, 134, 194);
        }
        .s2{
            background-color: rgb(67, 216, 89);
            margin-left: 50px;
            margin-right: 50px;
            margin-top: 100px;
            margin-bottom: 200px;
        }
        .s3{
            background-color: rgb(206, 71, 170);
        }
        .s4{
            background-color: rgb(149, 186, 69);
        }
    </style>
</head>
<body>

    
    
</body>
</html>